﻿@model Fcom.VNInsurance.Web.Models.PackageProduct
@{
    ViewBag.Title = "EditPackageProduct";
    Layout = "~/Views/Shared/_CpanelLayout.cshtml";
    var package = (IEnumerable<Fcom.VNInsurance.Web.Models.PackageLang>)ViewBag.package;
    var productname = ViewBag.ProductName;
}
<style>
    #package{

        width:200px;
    }
</style>
<div class="container" style="padding:10px;">
    @using (Html.BeginForm()) { 
        <fieldset>
                 <legend style="color:#a60002;">Thêm gói quyền lợi bảo hiểm cho sản phẩm @productname <span style="color:#000"></span></legend><br /><br />
            </fieldset>
            
                 <div class="form-group">
            @Html.HiddenFor(m=>m.ID)
            @Html.HiddenFor(model => model.ProductID, new { id= "ProductID"})
            <label for="txttitle">Gói Quyền Lợi (*)</label>
           @Html.DropDownListFor(m => m.PackageID, new SelectList(package, "PackageID", "DisplayNamePackage"), new {id="package"})
            </div>
         
        <button type="submit" class="btn btn-success">Lưu thông tin gói quyền lợi bảo hiểm cho sản phẩm @productname </button>
    }
</div>
